package com.github.jiangxch.rpc.rpc.common;

/**
 * @author: jiangxch
 * @date: 2021/3/1 上午2:40
 */
public class HelloServiceImpl implements HelloService {
    
    @Override
    public String sayHello(String name) {
        return "Hi,"+name;
    }
    
    @Override
    public boolean checkSayHelloName(String name,String result) {
        return sayHello(name).equals(result);
    }
}
